package com.medvalley.tcm.dao;

import com.medvalley.tcm.domain.MyRecommendMusic;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface MyRecommendMusicDao extends CrudRepository<MyRecommendMusic, Long> {
    List<MyRecommendMusic> findAllByUserIdAndCheckType(long userId, int checkType);

    void deleteByUserIdAndCheckType(long userId, int checkType);
}
